//
// Created by xzy.xiao on 2022/6/8.
//

#ifndef QT_DEMO_MYMAINWINDOW_H
#define QT_DEMO_MYMAINWINDOW_H

#include <QMainWindow>
class QLabel;
class QAction;

class MyMainWindow : public QMainWindow {

Q_OBJECT

public:
    explicit MyMainWindow(QWidget *parent = nullptr);
    ~MyMainWindow() override;

private:
    QAction *openFileActionPtr;
    QAction *testMessageBoxPtr;
    QAction *testInputDialogPtr;
    QLabel *msgLabelPtr;
    void initMenuAndToolBar();
    void initStatusBar();

private slots:
    void openFileSlot();
    void testMessageBoxSlot();
    void testInputDialogSlot();
};

#endif //QT_DEMO_MYMAINWINDOW_H
